//
//  MyOrderDetailViewController.h
//  NiuNiuPacking
//
//  Created by Janny on 14-10-1.
//  Copyright (c) 2014年 Reseek. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PagePassingParametersDelegate.h"
#import "OrderParameters.h"
#import "QRCodeScanViewController.h"
#import "Re_SeekStarRatingView.h"


@interface MyOrderDetailViewController : UIViewController<PagePassingParametersDelegate,UIAlertViewDelegate>

@property(copy,nonatomic) NSString *state;
//static NSString *orderState = nil;
@property(assign,nonatomic) enum OrderState orderState;

//QRCodeScanViewController *qrCodeScanViewController = nil;

//label

@property (retain, nonatomic) IBOutlet UILabel *labelStopCarTime;

@property (retain, nonatomic) IBOutlet UILabel *labelStopCarJinE;

@property (retain, nonatomic) IBOutlet UILabel *labelYiFuJinE;

@property (retain, nonatomic) IBOutlet UILabel *labelYingFuJinE;

@property (retain, nonatomic) IBOutlet UILabel *labelOrderState;

@property (retain, nonatomic) IBOutlet UILabel *labelStopDanJia;

@property (retain, nonatomic) IBOutlet UILabel *labelCarPaiNumber;

@property (retain, nonatomic) IBOutlet UILabel *labelCarWeiNumber;

@property (retain, nonatomic) IBOutlet UILabel *labelCreateTime;

@property (retain, nonatomic) IBOutlet UILabel *labelInChangTime;



@property (retain, nonatomic) IBOutlet UILabel *orderTitle;

@property (retain, nonatomic) IBOutlet UILabel *orderAddress;

@property (retain, nonatomic) IBOutlet UILabel *stopCarDanJia;

@property (retain, nonatomic) IBOutlet UILabel *carNumber;

@property (retain, nonatomic) IBOutlet UILabel *carWeiNumber;

@property (retain, nonatomic) IBOutlet UILabel *stopCarTime;

@property (retain, nonatomic) IBOutlet UILabel *stopCarJinE;

@property (retain, nonatomic) IBOutlet UILabel *yiFuJinE;

@property (retain, nonatomic) IBOutlet UILabel *yingFuJinE;

@property (retain, nonatomic) IBOutlet UILabel *lbState;

@property (retain, nonatomic) IBOutlet UILabel *lbCreateTime;

@property (retain, nonatomic) IBOutlet UILabel *lbInChangTime;



//Action
- (IBAction)btnStopCarLuXian_Click:(id)sender;

- (IBAction)openOrder2WeiMa_Click:(id)sender;

- (IBAction)btnCarOut_Click:(id)sender;

- (IBAction)btnCarInScanQrCode_Click:(id)sender;

- (IBAction)btnCancelOrder_Click:(id)sender;

- (IBAction)btnEvaluationOrder_Clcik:(id)sender;

//bottom

@property (retain, nonatomic) IBOutlet UIButton *btnStopCarLuXIan;

@property (retain, nonatomic) IBOutlet UIButton *btnOpenOrderQRCode;

@property (retain, nonatomic) IBOutlet UIButton *btnCarOutChangScanQRCode;

@property (retain, nonatomic) IBOutlet UIButton *btnCarInChangScanQRCode;

@property (retain, nonatomic) IBOutlet UIButton *btnPingJiaOrder;

@property (retain, nonatomic) IBOutlet UIButton *btnCancelOrder;


//ui view

@property (retain, nonatomic) IBOutlet UIView *viewButtons;


//delegate
-(void) passParameterToView:(NSString *) value;

- (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex;

@end
